/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package qlvbdq.controler;

import java.sql.ResultSet;
import qlvbdq.dconnection.SQLServerConnect;
import qlvbdq.gui.frmLogin;


/**
 *
 * @author Nguyen Vu Huy
 */
public class QLVBDQ {

    /**
     * @param args the command line arguments
     */
    protected static SQLServerConnect connect;
    public static void main(String[] args) throws Exception {
        // TODO code application logic here
        
        SQLServerConnect.createInsance("localhost", "sa", "385527036", "VBDQ");
        ResultSet result;
        String[] user = { "hoang277" };
        SQLServerConnect.getInstance().updateDataToDatabase("DeleteUserToDatabase(?)", user);
        frmLogin logIn = new frmLogin();
        logIn.setVisible(true);
    }
    
}
